package com.youko.backstage.mapper.commodity;

import com.youko.backstage.bean.order.OrderSku;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface OrderSkuMapper {
    /**
     * 根据skuId查所有订单
     */
    List<OrderSku> selectAllOrderSkuBySkuId(int skuId);


    /**
     * 根据id修改发货状态
     */
    void updateStatusById(int id);

}
